<template>
    <p :style="{color:color,fontSize:size}">Style绑定</p>
</template>

<script>
    export default {
        data() {
            return {
                color: "green",
                size: '30px'
            }
        }
    }
</script>